package me.liquidifica.persistence.database;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class ConnectionFactory {
	public static Connection createConnection() {
		String stringDeConexao = "jdbc:postgresql://54.200.55.98/postgres";
		String usuario = "liquidificador";
		String senha = "liquidificador";
		Connection conexao = null;
		try {
			conexao = DriverManager.getConnection(stringDeConexao, usuario,
					senha);
		} catch (SQLException e) {
			e.printStackTrace();
		}
		return conexao;
	}
}
